package com.sixbro.oauth2.security.provider.mobile;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * <p>
 *
 * </p>
 *
 * @author: Mr.Lu
 * @since: 2021/12/8 9:31
 */
public interface MobileUserDetailsService {

    UserDetails loadUserByMobile(String mobile) throws UsernameNotFoundException;
}
